Newsgroups: comp.lang.tcl,comp.answers,news.answers Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!news.ans.net!malgudi.oar.net!chemabs!lvirden From: lwv26@cas.org (Larry W. Virden) Subject: FAQ: comp.lang.tcl Frequently Asked Questions (3/5) (Last updated: August 10, 1993) Message-ID: Followup-To: comp.lang.tcl Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions (FAQ) and their answers. This is the third of five parts. This part is a catalog of miscellaneous Tcl-based items. Originator: lwv26@lwv26aws Keywords: tcl, expect, extended tcl, wish, tk Sender: lvirden@cas.org Reply-To: lvirden@cas.org (Larry W. Virden) Organization: Chemical Abstracts Service References: Date: Wed, 18 Aug 1993 20:07:39 GMT Approved: news-answers-request@MIT.Edu Expires: Wed, 29 Sep 1993 20:07:01 GMT Lines: 392 Xref: senator-bedfellow.mit.edu comp.lang.tcl:6247 comp.answers:1658 news.answers:11554 Archive-name: tcl-faq/part3 Version: 4.0 Last-modified: August 10, 1993 For more information concerning Tcl (see "tcl-faq/part1"), (see "tcl-faq/part2"), (see "tcl-faq/part4") or (see "tcl-faq/part5"). Index of questions: XI. Where can I get these packages? A. Retrieving Tcl and Tk B. Accessing the Tcl/Tk User Contributions Archive C. Expect available via e-mail. D. tcl-mode.el E. The tk toolbox project F. [tv]grind definitions for tcl/tk/expect G. BNF style notation for Tcl End of FAQ Index ---------------------------------------------------------------------- ------------------------------ From: FAQ Tcl/Tk Package Catalog Subject: -XI- Where can I get these packages? The "home site" for Tcl on the Internet is sprite.berkeley.edu. Sprite is an experimental research machine whose IP servers occasionally flake out. If you find that sprite is refusing connections, send mail to "root@sprite.berkeley.edu", wait a few hours, and try again. Tcl and Extended Tcl were posted to comp.sources.misc, appearing In volume 25 and then Tcl appeared again in volume 26 and can be found at most comp.sources.misc archive sites in the tcl and tclx directories. These are quite old versions actually, but are still usable. a. Tcl - available on sprite.berkeley.edu and harbor.ecn.purdue.edu b. Tk - available on sprite.berkeley.edu and harbor.ecn.purdue.edu c. Extended Tcl - available on sprite.berkeley.edu and harbor.ecn.purdue.edu Note that currently the beta version of Extended Tcl is only available on harbor.ecn.purdue.edu. The IP address for harbor.ecn.purdue.edu is 128.46.128.76 . sprite.berkeley.edu is a CNAME for allspice.Berkeley.EDU, whose IP address is 128.32.150.27. Other sites which either mirror the Tcl/Tk submissions or have special versions are: ftp.uu.net:/languages/tcl <- sprite only gatekeeper.dec.com:/.0/BSD/UCB/sprite <- sprite only sunsite.unc.edu:/pub/languages/tcl ftp.ibp.fr:/pub/tcl <- distrib, contrib, expect syd.dit.csiro.au:/pub/tk <- contrib and sprite iskut.ucs.ubc.ca:/pub/X11/tcl ftp.funet.fi:/pub/languages/tcl coma.cs.tu-berlin.de:/pub/tcl nic.funet.fi:/pub/languages/tcl oskgate0.mei.co.jp:/free/X/toolkits/tcl <- sprite only sunsite.unc.edu:/pub/Linux <- contains port of extended Tcl and extended Tk to this OS. ------------------------------ From: -XI- Where can I get these packages? Subject: -A- Retrieving Tcl and Tk >From: ouster@sprite.Berkeley.EDU (John Ousterhout) >Newsgroups: comp.lang.tcl >Subject: Obtaining Tcl/Tk sources For people new to the Tcl/Tk community, here is information on how to obtain Tcl and Tk sources. The information below describes what I distribute; other information is available from other machines also, such as harbor.ecn.purdue.edu. The sources and documentation for the Tcl command language library, for the Tk toolkit, and for a few Tcl-based applications, are in the public FTP area on sprite.berkeley.edu. All of these files are in the "tcl" subdirectory of the FTP area. Here is a catalog of what's available. Most of the files are compressed tar files ("xxx.tar.Z"). There is some overlap between the contents of the various packages. tk3.3b1.tar.Z - This is the latest BETA release of the Tk toolkit, released in July 1993. It includes the sources for the Tk library and the "wish" windowing shell, plus reference manual entries and a number of demonstration scripts. This release matches the Tk described in the draft book (see below). tk3.2.tar.Z - This is the latest release of the Tk toolkit, released in February 1993. It includes a complete copy of the Tcl V6.7 release (the version of Tcl with which it is compatible) plus a simple windowing shell called "wish". If you retrieve this file you don't need to retrieve Tcl separately. tcl7.0b1.tar.Z - This is the newest BETA release of the Tcl library, released in July 1993. It includes the sources for the Tcl library and the "tclsh" application, plus reference manual entries. This release matches the Tcl described in the draft book (see below). tcl6.7.tar.Z - This is the newest release of the Tcl library. It became available in February 1993. This package includes only the Tcl library and its documentation, plus a simple main program for testing. tclX6.5c.tar.Z - Extended Tcl (or NeoSoft Tcl), created by Mark Diekhans and Karl Lehenbauer, which adds a number of useful facilities to the base Tcl release. Among the things in Extended Tcl are a Tcl shell, many new commands for things like UNIX kernel call access and math library routines, and an on-line help facility. This file is based on Tcl versions 6.5 or later and Tk versions 3.0 or later. Note that additional patches for Tcl 6.x and Extended Tcl exist as harbor.ecn.purdue.edu:/pub/tcl/extensions/tclX6.5c-6.7c.update.shar.Z Also note that the Extended Tcl patches for the beta Tcl 7 are available as harbor.ecn.purdue.edu:/pub/tcl/extensions/tclX7.0a-B3.tar.Z mx.tar.Z - Sources and documentation for a mouse-based text editor (mx) and terminal emulator (tx) based on Tcl. This is a very old release: it uses an old version of Tcl (which is included) and doesn't even use Tk; it uses an ancient toolkit called "Sx". These tools will eventually be replaced with new tools based on Tk and the newest Tcl. mx-2.5.tar.Z - Newer version of mx (see above) that uses the standard X selection mechanism rather than the homegrown mechanism used by previous versions. Version 2.5 is not backwards compatible with previous versions (you can't cut and paste between the two). Still uses sx and an old version of Tcl (both of which are included). book.p1.ps.Z Compressed Postscript for a draft of the first part of an upcoming book on Tcl and Tk to be published in 1993 by Addison-Wesley. This part of the book describes the Tcl language and how to write scripts in it. About 130 pages in length. book.p2.ps.Z Compressed Postscript for a draft of the second part of an upcoming book on Tcl and Tk to be published in 1993 by Addison-Wesley. This part of the book describes how to write Tcl scripts for Tk. About 125 pages in length. book.p3.ps.Z Compressed Postscript for a draft of the third part of an upcoming book on Tcl and Tk to be published in 1993 by Addison-Wesley. This part of the book describes how to write Tcl applications in C, using the Tcl library procedure. 64 pages in length. book.p4.ps.Z Compressed Postscript for a draft of the last part of an upcoming book on Tcl and Tk to be published in 1993 by Addison-Wesley. This part of the book describes how to write new widgets and geometry managers in C, using the Tk library procedure. About 70 pages in length. tclUsenix90.ps - Postscript for a paper on Tcl that appeared in the Winter 1990 USENIX Conference. This paper is also included in the Tcl and Tk distributions. tkUsenix91.ps - Postscript for a paper on Tk that appeared in the Winter 1991 USENIX Conference. This paper is also included in the Tk distribution. tkF10.ps - Postscript for Figure 10 of the Tk paper. tut.tar.Z - A collection of materials from a full-day tutorial on Tcl and Tk. Includes viewgraphs from five one-hour talks plus a sample widget. tc-tcl93.ps.gz - PostScript formatted copy of Tcl Compiler paper presented at the Tcl'93 Workshop. tc-tcl93.tex.gz - LaTeX source for the Tcl Compiler paper presented at the Tcl'93 Workshop. In addition, there may be older releases of some or all of the above files; look for files with earlier release numbers. To retrieve any or all of these packages, use anonymous FTP to sprite.berkeley.edu (Internet address 128.32.150.27). Use user "anonymous"; when asked for a password, type your login name. Then retrieve the relevant file(s) with the commands like the following: type image (try "type binary" if this command is rejected) cd tcl get tk3.2.tar.Z Be sure to retrieve files in image mode (type "type image" to FTP) in order to make sure that you don't lose bits. Any file with a .Z extension is a compressed file, which means you must use the "uncompress" program to get back a normal file. For example, for the file tk3.2.tar.Z, you should type uncompress tk3.2.tar.Z once you've retrieved the file. This will produce a file named "tk3.2.tar". Then you will need to use tar to extract the members. Typically one would use a command such as: tar xv tk3.2.tar to extract the pieces. Each of the releases has a README file in the top-level directory that describes how to compile the release, where to find documentation, etc. Questions or problems about any of these distributions should be directed to "John Ousterhout" . If you don't have access to Sprite, you can also retrieve some or all of the above files from other FTP repositories. Here is a sampler of machines that store some or all of the Tcl/Tk information, plus the directories in which to check: ftp.uu.net: /languages/tcl/* export.lcs.mit.edu: /contrib/tk* export.lcs.mit.edu: /contrib/tcl* harbor.ecn.purdue.edu: /pub/tcl/sprite-mirror/* ftp.ibp.fr /pub/tcl/* gatekeeper.dec.com: /pub/UCB/tcl/sprite/* syd.dit.csiro.au: /pub/tk/* ------------------------------ From: -XI- Where can I get these packages? Subject: -B- Accessing the Tcl/Tk User Contributions Archive Contributions to the Tcl/Tk Contrib Archive are most welcome -- please upload them to: harbor.ecn.purdue.edu:/incoming [128.46.128.76] send the archive maintainer a note stating the names of the files you uploaded and a brief description for the index. Harbor is the central file server for the software staff of the Engineering Computer Network, so please try to refrain from FTPing stuff between 9am and 5pm EST (GMT -0500). No mail-archive service is planned as yet -- users without FTP capability should use one of the following mail-based FTP services (send mail to the appropriate address with "help" in the body): BITNET users: BITFTP Others: "DEC ftpmail" Europe: ftpmail@grasp1.univ-lyon1.fr mail-server@ftp.tu-clausthal.de WARNING! The archive maintainer will NOT be automatically archiving anything posted to comp.lang.tcl or previously to the mailing list. So if you want your nifty porting instructions for getting Tcl up on your Seiko wrist watch or your pen computer to be saved for others benefit, be sure to ftp them into the archive. All contributions should be placed in harbor's ~ftp/incoming subdirectory. Please send tcl-archive@harbor.ecn.purdue.edu and a short mail message stating the filename(s) of your contribution and a brief description (for the Index). If you've posted some code to comp.lang.tcl or the Tcl mailing list, and you want it to be archived at this site, please deposit it in ~ftp/incoming or mail it in a suitable form (preferably uuencoded compressed tar file, but a shar file's OK) to tcl-archive@harbor.ecn.purdue.edu. Note: I have noticed that some authors prefer to use plain names rather than version level type names. This means that you should a) make note of when you get a package, and b) check the archive occasionally to see if a newer version of the package has appeared. ------------------------------ From: -XI- Where can I get these packages? Subject: -C- Expect available via e-mail. Besides being available via ftp, expect can also be received by email by sending the message "send pub/expect/expect.shar.Z" to library@cme.nist.gov . As of January 11, 1993, the primary expect package does not work with Tcl 6.5 due to a Tcl 6.5 bug. There is an alpha.tar.Z package which provides compatibility with Tcl 6.[67] as well as provides some support for Tk. ------------------------------ From: -XI- Where can I get these packages? Subject: -D- tcl-mode.el "Sean Levy" has hacked a version of Emacs's C mode into a tcl-mode.el. He mentions that you must use semi-colons at the end of each statement to get indentation to work right, but he found that easier than doing without. The code is on [128.2.214.236] ftp.cs.cmu.edu:/afs/cs/user/snl/pub/tcl-mode.el.z (don't forget binary mode) as well as harbor.ecn.purdue.edu:/pub/tcl/distrib/tcl-mode.el.Z . "Julian Anderson" was also working on an Emacs Tcl minor mode to fundamental. "Chris Lindblad" has contributed tcl.el, a Tcl mode for GNU emacs. It's address is harbor.ecn.purdue.edu:/pub/tcl/extensions/tcl.el . ------------------------------ From: -XI- Where can I get these packages? Subject: -E- The tk toolbox project The Tk Toolbox & Toolchest project. The Toolchest consists of convenience routines for Tcl and Tk - a kind of a libc for Tcl. The toolbox is a collection of commonly used code and some specialized code such as file selectors, dialogs that take care of keyboard traversal through items automatically, etc. The project has currently not yet reached a usable state, but each formal release will be announced in comp.lang.tcl as well as other newsgroups. There is a mailing list for discussion of the tk toolbox, kindly provided by Ari Lemmke. To subscribe, write a message with the line: X-Mn-Admin: join tktools in the body or header of the message. Send this message to linux-activists-request@niksula.cs.hut.fi . To write to the list, send messages to to linux-activists@niksula.cs.hut.fi and add the line X-Mn-Key: TKTOOLS to the header or the body of the message. Especially remember this when replying to messages from the list. For more info about the list server (mailnet), write an empty message to linux-activists-request@niksula.cs.hut.fi . The intermediate snapshots are announced on this mailing list. If you have problems or are willing to donate code or whatever, you can contact the code maintainer (one of the three main implementors) at tlukka@snakemail.hut.fi or lukka@helsinki.fi . ------------------------------ From: -XI- Where can I get these packages? Subject: -F- [tv]grind definitions for tcl/tk/expect "Martin Hamilton" has come up with a preliminary grindcap definition for Tcl, Tk and expect. These are available as: harbor.ecn.purdue.edu:/pub/tcl/docs/vgrind.defs harbor.ecn.purdue.edu:/pub/tcl/docs/vgrind.defs.README andyr@wizzy.com (Andy Rabagliati) has come up with a preliminary grindcap definition for Tcl. Contact him for more details. ------------------------------ From: -XI- Where can I get these packages? Subject: -G- BNF style notation for Tcl tb06@CS2.cc.lehigh.edu (TERRENCE MONROE BRANNON) in July of 1993, posted some yacc code for a tcl-to-c parser. This, along with Adam Sah's Tcl compiler, are a couple of sources with which folk could start. ------------------------------ End of comp.lang.tcl Frequently Asked Questions (3/5) ***************************************************** -- :s :s Larry W. Virden INET: lvirden@cas.org :s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614